local hyper = {'ctrl', 'alt', 'cmd'}

hs.loadSpoon('TextClipboardHistory')
spoon.TextClipboardHistory.show_in_menubar = false
spoon.TextClipboardHistory.paste_on_select = true
spoon.TextClipboardHistory.honor_ignoredidentifiers = true
spoon.TextClipboardHistory:start()
hs.hotkey.bind(hyper, "V", function()
    spoon.TextClipboardHistory:toggleClipboard()
    mode:exit()
end)